<?php if (!defined('THINK_PATH')) exit();?><!-- 加载头文件 -->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/common.css" />
<?php if(($k == 'Index') AND ($f == 'index') ): ?><link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/index.css" />
	<?php elseif(($k == 'Detail') AND ($f == 'goodsdetail')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/goods_detail.css" />
	<?php elseif(($k == 'Shopcar') AND ($f == 'cart')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/cart.css" />
	<?php elseif(($k == 'Sureorder') AND ($f == 'sureorder')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/ensure_order.css" />
	<?php elseif(($k == 'Sureaddress') AND ($f == 'sureaddress')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/ensure_address.css"> 
	<?php elseif(($k == 'Submitpay') AND ($f == 'nowpay')): ?>
        <link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/now_pay.css">
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/cart.css" />
	<?php elseif(($k == 'Gerencenter') AND ($f == 'userpro')): ?>
        <link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/user_person_center.css">
	<?php elseif(($k == 'Myorder') AND ($f == 'userorder')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/user_center.css">
	<?php elseif(($k == 'Gerencenter') AND ($f == 'usercenter')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/user_center.css">
	<?php elseif(($k == 'Order') AND ($f == 'myorder')): ?>
		<link rel="stylesheet" type="text/css" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/css/order.css"><?php endif; ?>


</head>
<body>
<div class="container">
    <div class="top">
        <div class="topContent">
            <div class="topUserFunction">
				<?php if($_SESSION['name'] != ''): ?><p style="color:red">欢迎登陆!<?php echo ($_SESSION["name"]); ?></a><p>|</p><a href="<?php echo U('Public/loginout');?>">退出</p>
				<?php else: ?> 
				<p>请先</p><a href="<?php echo U('Public/login');?>">登陆</a><p>|</p><a href="<?php echo U('Public/register');?>">注册</a><?php endif; ?>
               
            </div>
            <div class="topFunction">
                 <a href="<?php echo U('index/index');?>">首页</a><a href="<?php echo U('Gerencenter/userpro');?>">我的中心</a><a href="<?php echo U('Myorder/userorder');?>">我的订单</a><a href="<?php echo U('Shopcar/cart');?>">我的购物车</a><a href="#">服务中心</a>
            </div>
        </div>
    </div>




    <div class="header">
        <div class="headerContent">
            <div class="headerLeft">
                <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/logo.jpg" width="200" height="95" />
                <div class="navButton">
                    <a>全部商品分类</a>
                </div>
                <div class="secondMenu">
                    <ul>
					
					<!-- 无限极分类输出 -->
					<?php if(is_array($wuxiantotal)): foreach($wuxiantotal as $k=>$vo): ?><li>
                            <a href="#" class="secondOption"><?php echo ($k); ?></a>
                            <div class="threeMenu">
                                <?php if(is_array($vo)): foreach($vo as $k1=>$vo1): ?><div class="threeMenuTitle">
										<p><?php echo ($k1); ?></p>
									   
									</div>
									<ul>
										 <?php if(is_array($vo1)): foreach($vo1 as $k2=>$vo2): ?><li><a href="#"><?php echo ($vo2["name"]); ?></a></li><?php endforeach; endif; ?>
									</ul><?php endforeach; endif; ?>
                            </div>
                        </li><?php endforeach; endif; ?>
						
                    </ul>
                </div>
            </div>
            <div class="headerMiddle">
                <div class="headerResouch">
                    <form action="#" method="post">
                    <input type="text" style=" width:350px; float:left; background-color:#FFF; height:36px; border:none; margin-top:6px; margin-left:10px;"  name="resouchText"/>
                    <input type="submit" style=" float:left; width:80px; margin-top:6px; background-color:transparent; color:#FFF; height:36px; font:18px yahei; border:none;" name="submit" value="搜索">
                    </form>
                </div>
                <div class="headerResouchBottom">
                    <ul>
                        <li ><a href="#" style="color:#f5b6bb;">迪士尼</a></li>
                        <li><a href="#">好孩子</a></li>
                        <li><a href="#">耐克</a></li>
                        <li><a href="#">啪啪尼克</a></li>
                        <li><a href="#">兔子小克</a></li>
                        <li><a href="#">南极人</a></li>
                        <li><a href="#">巴布豆</a></li>
                    </ul>
                </div>
				<!-- 输出导航栏 -->
                <div class="headerNav">
                    <ul>
					
					<?php if(is_array($info)): foreach($info as $k=>$vo): if($vo["status"] == 1 ): ?><li><a href="<?php echo ($vo["url"]); ?>"><?php echo ($vo["name"]); ?></a></li><?php endif; endforeach; endif; ?>
                     
                        
                    </ul>
                </div> 
            </div>
            <div class="headerRight"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/erweima.jpg" width="101" height="100"></a><a href="#">扫一扫 加收藏</a></div>   
        </div>
    </div>
    
    <div class="headerContent">
            <div class="pageName">
                <p>立即支付</p>
            </div>
            <div class="headerStepRight">
                <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/title4.png">
                <ul>
                    <li><a class="overstep" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/#">我的购物车</a></li>
                    <li><a class="overstep" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/#">确定订单</a></li>
                    <li><a class="overstep" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/#">确定地址</a></li>
                    <li><a class="overstep" href="/git/thinkphpkxs/thinkphpkxs01/Public/children/#">确定提交</a></li>
                </ul>
            </div>
    </div>
	<div class="main">
		<div class="mainColumn">
            <div class="mainColumnTitle"><p>全部商品</p></div>
        </div>
        <div class="mainTableSide">
            <div class="mainTableLine mainLine1">
                <input class="selectAll" type="checkbox" style=" float:left; margin-top:23px; margin-left:24px;" /><p>全选</p>
            </div>
            <div class="mainTableLine mainLine2">
                <p>商品</p>
            </div>
            <div class="mainTableLine mainLine3">
                <p>参数</p>
            </div>
            <div class="mainTableLine mainLine4">
                <p>数量</p>
            </div>
            <div class="mainTableLine mainLine5">
                <p>小计</p>
            </div>
            <div class="mainTableLine mainLine6">
                <p>操作</p>
            </div>
        </div>
		
		<?php if(is_array($allpro)): foreach($allpro as $k=>$vo): ?><div class="mainTableRow">
             <div class="mainTableLine mainLine1">
                <!--  <input  id="proid" type="checkbox" style=" float:left; margin-top:23px; margin-left:24px;" value="<?php echo ($vo["p_id"]); ?>"/> --><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/cart/goodsimg.jpg" width="100" height="120" />
             </div>
             <div class="mainTableLine mainLine2">
                 <div class="contentText">
                 <a href="#"><?php echo ($vo["name"]); ?></a>
                 </div>
             </div>
             <div class="mainTableLine mainLine3">
                 <div class="contentText">
                 <p>颜色：黑色</p>
                 <p>尺码：150cm</p>
                 </div>
             </div>
             <div class="mainTableLine mainLine4">
                 <div class="contentText">
					
					<input id="num" class="num" type="text"  value="<?php echo ($vo["number"]); ?>" name="num"/>

					<input type="hidden"  name="id" value="<?php echo ($vo["p_id"]); ?>" />
					<input type="hidden"  name="price" value="<?php echo ($vo["price"]); ?>" />
					<input type="hidden"  name="price1" value="<?php echo ($totalcost); ?>" />
					<input type="hidden"  name="price2" value="<?php echo ($totalnum); ?>" />
					<input type="hidden"  name="price2" value="<?php echo ($vo["p_id"]); ?>" />
                 </div>
             </div>
             <div class="mainTableLine mainLine5">
                 <div class="contentText">
				
					<p class="zongjia">￥<span><?php echo ($vo['price']*$vo['number']); ?></span>.00</p>
				
                 </div>
             </div>
             <div class="mainTableLine mainLine6">
                 <div class="contentText">
					<a href="<?php echo U('Shopcar/del');?>?uid=<?php echo ($vo["p_id"]); ?>">删除</a>
                 </div>
             </div>
        </div><?php endforeach; endif; ?>	
		
		<div class="maintop"><b>支付方式</b></div>
		<div class="mainbottom">
			<a href="#" class="active">货到付款</a>
			<a id="payNow" href="#">在线支付</a>
			<a href="#">公司转账</a>
			<a href="#">邮局汇款</a>
		</div>
		<div class="bank">
			<div class="banktop">
				<div class="bankpay">
					<img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/kuang_gou.gif" width="18px" />
					<b><span class="bankfont1">银行卡</span></b>
					<a href="#" class="bankfont2">&lt;&nbsp;返回我的银行卡</a>
					<span class="bankfont3">支付<b><span class="bankfont4">206.00</span></b>元</span>
				</div>
				<div class="bankpaychoice">
					<input class="bankpayid" type="text" name="userbankid" placeholder="输入银行卡号或简码进行识别"></input>
					<div class="bankpayway">
						<div class="bankpayway1"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/fast_pay.gif" />快捷支付</div>
						<div class="bankpayway2">网银支付</div>
					</div>
					<div class="bankpayone">
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/gongshang_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/jianshe_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/zhaoshang_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/nongye_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/jiaotong_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/guangfa_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/zhongguo_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/minsheng_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/huaxia_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/xinye_bank.gif" /></a></div>
						<div class="abank"><a href="#"><img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/now_pay/guangda_bank.gif" /></a></div>
						<div class="bankmore"><a href="#"><b><span>更多银行</span></b></a></div>
					</div>
				</div>
			</div>
			<div class="bankbottom">
				<b><a id="pay"href="#">立即支付</a></b>
				<span>请选择银行支付</span>
			</div>
		</div>
	</div>
	<div class="backnext"><a href="<?php echo U('Sureaddress/sureaddress');?>">上一步</a>&nbsp;<a href="<?php echo U('Submitpay/create');?>">提交</a></div>
    
    
   <!-- 加载尾文件 -->

<div class="footer">
        <div class="footerTop">
            
            <div class="footerTopContent">
                <div id="toTop"></div>
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>优</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>优良品质</p>
                        <p>质量保证</p>
                    </div>
                </div>
                
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>多</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>类型多样</p>
                        <p>轻松购物</p>
                    </div>
                </div>
                
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>好</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>直仓发货</p>
                        <p>快速配送</p>
                    </div>
                </div>
                
                <div class="footerPromis">
                    <div class="footerPromisLeft">
                        <a>快</a>
                    </div>
                    <div class="footerPromisRight">
                        <p>正品行货</p>
                        <p>温馨服务</p>
                    </div>
                </div>
            </div>
        </div>
        <div class="footerMiddel">
            <div class="footerMiddelContent">
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>新手上路</p></div>
                    <ul>
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">免费注册</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">售后规则</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>购物常识</p></div>
                    <ul>
                        <li><a href="#">常用尺寸</a></li>
                        <li><a href="#">货图差异</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">购物规则</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>服务保证</p></div>
                    <ul>
                        <li><a href="#">常见问题</a></li>
                        <li><a href="#">免费注册</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">售后规则</a></li>
                        <li><a href="#">购物流程</a></li>
                        <li><a href="#">售后规则</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>会员中心</p></div>
                    <ul>
                        <li><a href="#">会员管理</a></li>
                        <li><a href="#">关于会员</a></li>
                        <li><a href="#">我的收藏</a></li>
                        <li><a href="#">我的订单</a></li>
                        <li><a href="#">会员续费</a></li>
                        <li><a href="#">会员消息</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNav">
                    <div class="footerMiddelNavTitle"><p>招商加盟</p></div>
                    <ul>
                        <li><a href="#">加盟管理</a></li>
                        <li><a href="#">关于加盟</a></li>
                        <li><a href="#">加盟详情</a></li>
                        <li><a href="#">联系客服</a></li>
                    </ul>
                </div>
                <div class="footerMiddelNavTwoDimensionCode">
                    <img src="/git/thinkphpkxs/thinkphpkxs01/Public/children/images/erweima.jpg"/>
                    <p>扫一扫 二维码</p>
                </div>
            </div>
        </div>
        <div class="footerButtom">
            <div class="footerButtomContent">
                <ul class="footerButtomNav">
                    <li><a href="<?php echo U('index/index');?>">返回首页</a><a>|</a></li>
                    <li><a href="#">关于我们</a><a>|</a></li>
                    <li><a href="#">会员中心</a><a>|</a></li>
                    <li><a href="#">购物常识</a><a>|</a></li>
                    <li><a href="#">客服中心</a><a>|</a></li>
                    <li><a href="#">招商加盟</a></li>
                </ul>
                <p>◎2003-2015 Taobao.com 版权所有</p>
                <p>网络文化经营许可证：浙网文[2013]0268-027号|互联网违法和不良信息举报电话:0571-81683755 blxx@list.alibaba-inc.com</p>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/git/thinkphpkxs/thinkphpkxs01/Public/children/js/jquery-1.8.3.min.js"></script>
<script src="/git/thinkphpkxs/thinkphpkxs01/Public/children/js/common.js"></script>
<script src="/git/thinkphpkxs/thinkphpkxs01/Public/children/js/pay_now.js"></script>
</html>